package com.pro.common.api.enums;

import com.pro.framework.api.enums.IEnumStr;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Schema(description = "支付响应类型")
@Getter
@AllArgsConstructor
public enum EnumPaymentResponseType implements IEnumStr {

    URL("跳转链接，网页支付或H5支付"),
    QR_CODE("二维码内容，扫码支付"),
    SDK_PARAMS("SDK调起参数，App原生支付"),
    PREPAY_ID("预支付ID，微信小程序支付"),
    DIRECT("直接返回支付结果，余额支付等无需跳转");

    @Schema(description = "类型描述")
    private final String label;

}
